package br.unicamp.ic.sgct.server.dominio.entidades;

import br.unicamp.ic.sgct.client.dominio.to.ChairTO;
import br.unicamp.ic.sgct.client.dominio.to.UsuarioTO;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@SuppressWarnings("serial")
@Entity(name = "Chair")
@DiscriminatorValue(value = "chair")
public class Chair extends Usuario {

    public Chair() {
        super();
    }

    public Chair(ChairTO to) {
        super(to);
    }


    @Override
    public UsuarioTO getTo() {
        ChairTO to = new ChairTO();
        super.populaTO(to);
        return to;
    }
}
